package com.xiguthings.waka.dao.mapper;

import com.xiguthings.waka.po.Maintainer;
import com.xiguthings.waka.po.MaintainerExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MaintainerMapper {
    int countByExample(MaintainerExample example);

    int deleteByExample(MaintainerExample example);

    int deleteByPrimaryKey(String maintainerId);

    int insert(Maintainer record);

    int insertSelective(Maintainer record);

    List<Maintainer> selectByExample(MaintainerExample example);

    Maintainer selectByPrimaryKey(String maintainerId);

    int updateByExampleSelective(@Param("record") Maintainer record, @Param("example") MaintainerExample example);

    int updateByExample(@Param("record") Maintainer record, @Param("example") MaintainerExample example);

    int updateByPrimaryKeySelective(Maintainer record);

    int updateByPrimaryKey(Maintainer record);
}